package org.jxkj.bean;

import java.io.Serializable;

public class PointData implements Serializable {

    private static final long serialVersionUID = -6048527813735721260L;

    private String name;
    private String time;
    private String value;
    //时间戳排序
    private long timestamp;

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public PointData(String name, String time, String value) {
        this.name = name;
        this.time = time;
        this.value = value;
    }

    public PointData() {
    }

    public String getTime() {
        return time;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return "PointData{" +
                "name='" + name + '\'' +
                ", time='" + time + '\'' +
                ", value='" + value + '\'' +
                '}';
    }

}
